<template>
  <wd-message-box></wd-message-box>
</template>

<script setup lang="ts">
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app'
import 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'

// import initPermission from '@/router/permission'

onLaunch(() => {
  // initPermission()
})
onShow(() => {
  uni.$emit('weChartInit', 'onShow')
})
onHide(() => {
  uni.$emit('weChartInit', 'onHide')
})
</script>

<style lang="scss">
@import './uni';
</style>
